package day03home;

public class DayHome {
    public static void main(String[] args) {
        int a=4,b=5;
        if(a>b){
            System.out.println("最大值是a"+a);
        }else {
            System.out.println("最大值是b"+b);
        }
        int max=a>b?a:b;
        System.out.println("最大值是"+max);
    }
}
